home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / dev / lang / Python16_Src.lha / Python16_Source / Include / mytime.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-08-03  |  448 b   |  24 lines

  1. #ifndef Py_MYTIME_H
  2. #define Py_MYTIME_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6.  
  7. /* Include file instead of <time.h> and/or <sys/time.h> */
  8.  
  9. #ifdef TIME_WITH_SYS_TIME
  10. #include <sys/time.h>
  11. #include <time.h>
  12. #else /* !TIME_WITH_SYS_TIME */
  13. #ifdef HAVE_SYS_TIME_H
  14. #include <sys/time.h>
  15. #else /* !HAVE_SYS_TIME_H */
  16. #include <time.h>
  17. #endif /* !HAVE_SYS_TIME_H */
  18. #endif /* !TIME_WITH_SYS_TIME */
  19.  
  20. #ifdef __cplusplus
  21. }
  22. #endif
  23. #endif /* !Py_MYTIME_H */
  24.